package com.honey.compilation.sql.ddl;

import com.honey.compilation.sql.SqlColumn;
import com.honey.compilation.sql.SqlTable;

/**
 * 修改表命令: ALERT TABLE DROP INDEX ,非SQL 92定义
 * @author Administrator
 *
 */
@Deprecated
public class AlterTableDropIndex extends AlterTableDrop{
	
	public AlterTableDropIndex(String tableName) {
		super(tableName);	
		super.setDropType(DropType.INDEX);
	}
	
	/**
	 * 构造函数
	 * @param table 数据库表对象
	 */
	public AlterTableDropIndex(SqlTable table){
		super(table);
		super.setDropType(DropType.INDEX);
	}
	
	public AlterTableDropIndex(String schema, String tableName) {
		super(schema, tableName);
		super.setDropType(DropType.INDEX);
	}
	
	public AlterTableDropIndex(String tableName, SqlColumn ...indexNames) {
		super(tableName, indexNames);
		super.setDropType(DropType.INDEX);
	}
	
	@Override
	public void setDropType(DropType dropType) {
		
	}
	
}
